Reepay\Checkout\Gateways\ReepayGateway D

Total Complexity 222
Dependencies 10
Dependents 1
Total lines 1,565
Lines of code 997
Logical lines of code 486
Comment lines 309
Methods 28
Properties 17

Methods 28

Method Rating Maintainability Complexity Lines of code
process_payment()
D
13
66 319
get_order_items()
C
31 30 100
get_logo()
B
39 23 69
is_webhook_configured()
B
38 18 74
payment_confirm()
A
42 15 49
process_session_charge()
A
37 9 87
reepay_cancel()
S
53 6 22
get_webhook_url()
S
55 5 18
check_is_active()
S
57 5 16
refund_payment()
S
58 5 15
admin_notice_api_action()
S
55 4 22
get_account_info()
S
59 4 15
process_refund()
S
59 4 15
generate_gateway_status_html()
S
48 2 41
is_gateway_settings_page()
S
73 4 4
get_language()
S
60 3 14
init_form_fields()
S
51 2 29
cancel_payment()
S
63 3 10
capture_payment()
S
65 3 9
get_icon()
S
56 1 19
payment_fields()
S
71 2 6
needs_setup()
S
79 2 3
__construct()
S
58 1 14
apply_parent_settings()
S
60 1 13
can_refund()
S
79 1 3
action_checkout_create_order_line_item()
S
71 1 5
can_cancel()
S
79 1 3
can_capture()
S
79 1 3